package com.springboot.ww.platform.pd.order.api;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 描述：
 *
 * @author 🧑 ‍wanwei
 * @since 2024-09-18 14:58
 */
@NoArgsConstructor
@Data
public class PdShippedConfirmReq {


    @JsonProperty("trackingNumber")
    private String trackingNumber;
    @JsonProperty("packageSn")
    private String packageSn;
    @JsonProperty("packageDetail")
    private List<PackageDetailDTO> packageDetail;

    @NoArgsConstructor
    @Data
    public static class PackageDetailDTO {
        @JsonProperty("parentOrderSn")
        private String parentOrderSn;
        @JsonProperty("orderSn")
        private String orderSn;
        @JsonProperty("quantity")
        private Integer quantity;
    }
}
